#!/usr/bin/python
# index() 函数用于从列表中找出某个值第一个匹配项的索引位置。
aList = [123, 'xyz', 'mountain', 'villa', 'mountain'];

print("Index for xyz : ", aList.index('xyz'));
print("Index for mountain : ", aList.index('mountain'));
